Skip to content

fix: remove horizontal scroll caused by menu overflow#9

Open
Snaylaker wants to merge 1 commit intozml:masterfrom
Snaylaker:fix/header-overflow
Open

fix: remove horizontal scroll caused by menu overflow#9
Snaylaker wants to merge 1 commit intozml:masterfrom
Snaylaker:fix/header-overflow

Conversation

@Snaylaker
Copy link
Copy Markdown

Summary

  • Replace auto with minmax(0, 1fr) in grid-template-columns to prevent the menu column from growing beyond available viewport space
  • Remove width: 100% on #menu which, combined with content-box sizing and 20px right padding, caused the element to overflow its grid cell by 20px (amplified to ~26px at zoom 1.3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant